import koa from "koa"
import {appPost} from "./config/stting.js"
import { useControllers } from "./controllers/index.js"
import { sync } from "./db/index.js"

await sync()

let app = new koa()

useControllers(app)

app.listen(appPost)
console.log(`服务地址如下:http://localhost:${appPost}`);


